package cn.iocoder.yudao.module.call.controller.admin.group.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "呼叫中心 - 班组新增/修改 Request VO")
@Data
public class GroupSaveReqVO {

    @Schema(description = "坐席编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "32286")
    private Long id;

    @Schema(description = "班组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "班组名称不能为空")
    private String name;

    @Schema(description = "三方平台id", example = "14301")
    private String thirdPartyId;

    @Schema(description = "班组主管", example = "25041")
    private Long ownerUserId;

    /**
     * 0-轮选；1-最少；2-随机；7-根据坐席级别；8-根据空闲时长
     */
    @Schema(description = "呼叫分配模式", example = "25041")
    @NotNull(message = "呼叫分配模式不能为空")
    private Integer callDistribution;

}